package com.xlhj.mongodb.service;

import com.xlhj.mongodb.entity.SysUser;

import java.util.List;

/**
 * @ClassName UserService
 * @Description TODO
 * @Author liucaijing
 * @Date 2021/2/26 14:26
 * @Version 1.0
 */
public interface UserService {

    SysUser selectUserById(Long id);

    List<SysUser> selectAllUser();

    SysUser insertUser(SysUser user);

    SysUser updateUser(SysUser user);

    void deleteUserById(Long id);
}
